package com.tour.model;

/**
 * Member entity. @author MyEclipse Persistence Tools
 */

public class Member implements java.io.Serializable {

	// Fields

	private Integer memberId;
	private String loginName;
	private String trueName;
	private String password;
	private String gender;
	private String address;
	private String email;
	private String creditCard;
	private String tel;

	// Constructors

	/** default constructor */
	public Member() {
	}

	/** minimal constructor */
	public Member(String loginName, String trueName, String password,
			String gender) {
		this.loginName = loginName;
		this.trueName = trueName;
		this.password = password;
		this.gender = gender;
	}

	/** full constructor */
	public Member(String loginName, String trueName, String password,
			String gender, String address, String email, String creditCard,
			String tel) {
		this.loginName = loginName;
		this.trueName = trueName;
		this.password = password;
		this.gender = gender;
		this.address = address;
		this.email = email;
		this.creditCard = creditCard;
		this.tel = tel;
	}

	// Property accessors

	public Integer getMemberId() {
		return this.memberId;
	}

	public void setMemberId(Integer memberId) {
		this.memberId = memberId;
	}

	public String getLoginName() {
		return this.loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getTrueName() {
		return this.trueName;
	}

	public void setTrueName(String trueName) {
		this.trueName = trueName;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getGender() {
		return this.gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getCreditCard() {
		return this.creditCard;
	}

	public void setCreditCard(String creditCard) {
		this.creditCard = creditCard;
	}

	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

}